<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<link rel="stylesheet" href="css/styletopnav.css" type="text/css">
<script type="text/javascript" src="jquery-1.7.2.js"></script>
<script type="text/javascript" src="jquery.validate-1.13.1.js"></script>
<script type="text/javascript" src="MyDatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="js/click.js"></script>
<script type="text/javascript" src="js/onload.js"></script>
<script type="text/javascript" src="js/check.js"></script>
<script type="text/javascript" src="js/validator.js"></script>
</head>
<body>
	<div style="margin-left:215px;">
		<img border="0" src="image/top.png">
	</div>
	<div class="topnav">
		<ul>
			<li><a href="usertext_findUserTextALL" id="mainpage"><s:text
						name="mainpage" />&nbsp;&nbsp;<s:text name="mainpages" />
			</a></li>
			<s:if test="#session.user==null&&#session.company==null">
				<li><a href="javascript:void(0);" onclick="check1()"><s:text
							name="usercenter" /> </a></li>
				<li><a href="javascript:void(0);" onclick="check1()"><s:text
							name="companycenter" /> </a></li>
			</s:if>
			<s:elseif test="#session.user!=null">
				<li><a href="user_initUser" id="usercenter"><s:text
							name="usercenter" /> </a></li>
				<li><a href="javascript:void(0);" onclick="check3()"><s:text
							name="companycenter" /> </a></li>
			</s:elseif>
			<s:elseif test="#session.company!=null">
				<li><a href="javascript:void(0);" onclick="check2()"><s:text
							name="usercenter" /> </a></li>
				<li><a href="company_initCompany" id="companycenter"><s:text
							name="companycenter" /> </a></li>
			</s:elseif>
			<li><a href="company_initList" id="associatecompany"><s:text
						name="associatecompany" /> </a></li>
			<li><a href="user_rankingList" id="rankinglist"><s:text name="rankinglist"/></a></li>
			<li><a href="help.jsp" id="aboutus"><s:text
						name="aboutus" /> </a></li>
		</ul>
	</div>

</body>
</html>
